<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>广州好明天更好2016倒数嘉年华</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<link type="text/css" rel="Stylesheet" href="http://g4cdn.airefp.com/ws/Mobile/Webroot/gf/css/newYear/myanimate.css" />
<link rel="stylesheet" href="http://g4cdn.airefp.com/ws/Mobile/Webroot/gf/css/newYear/twoindex.css" />
<script type="text/javascript" src="http://g4cdn.airefp.com/ws/Mobile/Webroot/gf/js/newYear/jquery.js"></script> 
</head>

<body>
<img src="http://g4cdn.airefp.com/ws/Mobile/Webroot/gf/images/newYear/p2/bg.png" width="100%" height="100%" style="position:absolute; top:0; left:0; z-index:-1"/>
<div class="gri animated bounceInRight" onclick="changeSrc(1)">
	<img id="gri" src="http://g4cdn.airefp.com/ws/Mobile/Webroot/gf/images/newYear/p2/gri{if $info.vote eq 1}2{else}1{/if}.png" />
	<div class="zi">
		<p ><span class="numb" id="voteFirst" style="font-size: 50px;">{$vote.first|default:0}</span></br>
			<span>(人/支持)</span>
		</p>
	</div>
</div>
<div class="bo animated bounceInLeft" onclick="changeSrc(2)">
	<img id="bo" src="http://g4cdn.airefp.com/ws/Mobile/Webroot/gf/images/newYear/p2/bo{if $info.vote eq 2}2{else}1{/if}.png" />
	<div class="zi">
		<p ><span class="numb" id="voteSecond" style="font-size: 50px;">{$vote.second|default:0}</span></br>
			<span>(人/支持)</span>
		</p>
	</div>
</div>
<audio id="musicfx">
	<source src="http://g4cdn.airefp.com/ws/Mobile/Webroot/gf/mp3/newYear/5012.mp3" type="audio/mpeg">
</audio>
<div class="pk animated bounceIn delay20"><img src="http://g4cdn.airefp.com/ws/Mobile/Webroot/gf/images/newYear/p2/pk.png" /></div>
<!-- 倒计时进行中 -->
<div class="box waitingHB" >
	<div class="qianbtn" ><img src="http://g4cdn.airefp.com/ws/Mobile/Webroot/gf/images/newYear/p2/qianbtn.png" /></div>
    <img src="http://g4cdn.airefp.com/ws/Mobile/Webroot/gf/images/newYear/p2/footer.png" />
    <div class="zi" id="timeCount" >距离抢红包还有  10时10分10秒</div>
</div>
<!-- 开始抢红包 -->
<div class="box box2 getHB" >
    <div class="box2_btn" id="redbag" onclick="qiangHB();"><img src="http://g4cdn.airefp.com/ws/Mobile/Webroot/gf/images/newYear/p2/redbag.png" /></div>
    <div class="box2_pic"><img src="http://g4cdn.airefp.com/ws/Mobile/Webroot/gf/images/newYear/p2/star_tips.png" alt="" /></div>
</div>
<div class="qhb" id="qhb_page">
	<div class="hb_pic" id="qhb_btn" onClick="getZBHB();">
		<img src="http://g4cdn.airefp.com/ws/Mobile/Webroot/gf/images/newYear/p2/hb_pic.png" alt="" />
	</div>
	<div class="close_btn" id="close_hb" onClick="hiddenImg();">
		<img src="http://g4cdn.airefp.com/ws/Mobile/Webroot/gf/images/newYear/p2/close_btn.png" alt="" />
	</div>
</div>

<script type="text/javascript" src="http://zb.weixin.qq.com/app/shakehb/BeaconShakehbJsBridge.js">
</script>
<script type="text/javascript" src="http://zb.weixin.qq.com/nearbycgi/addcontact/BeaconAddContactJsBridge.js">
</script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script type="text/javascript">
	var wxid = {$info.wxid},selectVote = {$info.vote|default:0},nowTime = {$nowTime};
	var zbActivity = eval({$zbActivity});
	
	wx.config({
			    debug: false, 
			    appId: '{$signPackage.appId}',
			    timestamp: {$signPackage.timestamp},
			    nonceStr: '{$signPackage.nonceStr}',
			    signature: '{$signPackage.signature}',
			    jsApiList: [
			      // 所有要调用的 API 都要加到这个列表中
			      'onMenuShareTimeline',
			      'onMenuShareAppMessage'
			    
			    ]
			  });
	  wx.ready(function () {
				  	
		    wx.onMenuShareTimeline({
		    
		    title: '广州广播电视台-2016新年倒数欢乐嘉年会',
		     link:'http://g4.airefp.com/ws/index.php?g=mobile&m=newYear&a=index',
		     imgUrl: 'http://g4.airefp.com/ws/Mobile/Webroot/gf/images/newYear/share.png',
		      trigger: function (res) {
		       
		      },
		      success: function (res) {
		    	  document.getElementById('mcover').style.display='';
					showMsg("分享成功。");
		      },
		      cancel: function (res) {
		       
		      },
		      fail: function (res) {
		      }
		    });
		    
			wx.onMenuShareAppMessage({
			    link:'http://g4.airefp.com/ws/index.php?g=mobile&m=newYear&a=index',
			     title: '广州广播电视台',
			    desc: '2016新年倒数欢乐嘉年会',
			  	imgUrl: 'http://g4.airefp.com/ws/Mobile/Webroot/gf/images/newYear/share.png',
			    success: function () { 
			    	document.getElementById('mcover').style.display='';
			    	showMsg("分享成功。");
			    },
			    cancel: function () { 
			        // 用户取消分享后执行的回调函数
			    }
		});
	  });
</script>
<script type="text/javascript" src="http://g4cdn.airefp.com/ws/Mobile/Webroot/gf/js/newYear/twoindex.js" ></script>
</body>
</html>
